package com.lnsf.bookstore.system.userLevel.dao;

import com.lnsf.bookstore.system.userLevel.vo.UserLevel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserLevelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserLevel record);

    int insertSelective(UserLevel record);

    UserLevel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserLevel record);

    int updateByPrimaryKey(UserLevel record);

    List<UserLevel> selectAll(Map<String, Object> map , UserLevel userLevel);
}